//
//  ZDBUsTableViewCell.m
//  ZDB
//
//  Created by Kk on 2020/3/31.
//  Copyright © 2020 ZDB. All rights reserved.
//

#import "ZDBUsTableViewCell.h"

@implementation ZDBUsTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor =  WHITECOLOR;
     self.selectionStyle = UITableViewCellAccessoryNone;
}
- (void)setModel:(ZDBUsModel *)model
{
    _conten.text = model.content;
    _title.text = model.createTime;
    if (model.state.integerValue==0) {//联系状态 1=未联系 2=已联系
        _status.textColor = MAINCOLOR;
        _status.text =@"未联系";
    }else
    {
        _status.textColor = ColorStr(@"#adadad");
        _status.text =@"已联系";
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
